.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -3.5em;
  margin-top: -3.5em;
  font-size: 10px;
  text-indent: -9999em;
  border-top: .8em solid rgba(255, 255, 255, 0.2);
  border-right: .8em solid rgba(255, 255, 255, 0.2);
  border-bottom: .8em solid rgba(255, 255, 255, 0.2);
  border-left: .8em solid #ffffff;
  -webkit-animation: loader 1.1s infinite linear;
  animation: loader 1.1s infinite linear;
}
.loader,
.loader:after {
  border-radius: 50%;
  width: 7em;
  height: 7em;
}
@-webkit-keyframes loader {
  0% {
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  }
  100% {
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
  }
}
@keyframes loader {
  0% {
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  }
  100% {
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
  }
}